﻿using System;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.QD
{
    /// <summary>
    /// 
    /// </summary>
    public class tb_Corp_Quality
    {
        public Guid QualityGuid { get; set; }
        public Guid? CorpUserGuid { get; set; }
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public String FlowCode { get; set; }
        public String DetailName { get; set; }
        public Int32? KindID { get; set; }
        public String GradeName { get; set; }
        public String GradeCode { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? GetDate { get; set; }
        public Boolean? IsMain { get; set; }
        /// <summary>
        /// 不再使用2012-6-6
        /// </summary>
        public Int32? IsPass { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CreateDate { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? AlterDate { get; set; }
        public Boolean? IsDel { get; set; }
        public Guid? CreaterGuid { get; set; }
        public Boolean? AddFlag { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? AlterDateTime { get; set; }
        public Int32? AlterForwardID { get; set; }
        public String CheckComment { get; set; }
        public Int32? dogid { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? zzzEndDate { get; set; }
        public String QualityCode { get; set; }
        public Int32? isAllowTB_0210 { get; set; }
        public String zzzhfjg { get; set; }
        public String zzzstatus { get; set; }
        public String Remark { get; set; }
        public String ImageFile { get; set; }
        public DateTime? FirstGetDate { get; set; }
        public String Description { get; set; }
    }
}
